package com.clz.appdesign.appdependence.launcher;

import java.util.TimerTask;

/**
 * Created by Administrator on 2018/1/11.
 */

public class BaseTimeTask extends TimerTask{
    public OnTimeListenter mOnTimeListenter;

    public BaseTimeTask(OnTimeListenter onTimeListenter) {
        mOnTimeListenter = onTimeListenter;
    }

    @Override
    public void run() {
        if (null!=mOnTimeListenter){
            mOnTimeListenter.excuteTask();
        }
    }
}
